﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace BankCreditPortfolio.Areas.Admin.Models
{
    public class DeleteBankerModel
    {
        public virtual int BankerId { get; set; }

        [Required]
        [Display(Name = "Role")]
        public string Role { get; set; }

        [Required]
        [Display(Name = "First name")]
        [RegularExpression(@"[A-Z][a-z]{0,30}(([\'\,\.\-][A-Z])?[a-z]*)*$", ErrorMessage = "First name is not valid")]
        public string FirstName { get; set; }

        [Required]
        [Display(Name = "Last name")]
        public string LastName { get; set; }

        [Required]
        [Display(Name = "Middle name")]
        public string MiddleName { get; set; }
    }
}